package com.java.jiuyang.commons.dao;

import com.java.jiuyang.commons.entity.GaoDeEntity;
import com.java.jiuyang.commons.entity.terminal.SysTerminal;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 作用：终端信息表
 * 描述：
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-10-12 14:44:44
 */
@Repository
public interface SysTerminalDao  {

    List<SysTerminal> findTerminal(@Param("id") String id);

    int updateMap(@Param("id") String id, String longitude, String latitude);


    int saveTerminal(@Param("sysTerminal") SysTerminal sysTerminal);

    List<SysTerminal> selectTerminalList(@Param("sysTerminal") SysTerminal sysTerminal);

    List<GaoDeEntity> getLocalMap(@Param("pid") String pid);

    List<SysTerminal> testTerminal(@Param("id")String id);
}
